package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


/**
 * <p>
 * 预打包明细DTO
 * </p>
 *
 * @author rfwang
 * @since 2021年7月3日
 */
@Data
@ApiModel(value="PrepackagedItemDTO对象", description="预打包明细")
public class PrepackagedItemDTO extends BasicEntity {

    @ApiModelProperty(value = "预打包明细标识")
    private String code;

    @ApiModelProperty(value = "预打包计划号")
    private String prepackagedCode;

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "单包裹组合数量")
    private BigDecimal combinationQuantity;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "总数量 = 包裹 * 单包裹组合数量")
    private BigDecimal totalQuantity;

    @ApiModelProperty(value = "状态,0-新增。1-待分配，2-部分分配，3-已分配")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "可用库存")
    private BigDecimal availableStockQuantity;

    @ApiModelProperty(value = "库存缺货数量")
    private BigDecimal stockOutQuantity;

    @ApiModelProperty(value = "货主编码")
    private String shipmentCode;

    @ApiModelProperty(value = "仓库编码")
    private String warehouseCode;

    @ApiModelProperty(value = "分配数量")
    private BigDecimal distributionQuantity;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "待分配数量")
    private BigDecimal notDistributionQuantity;

    @ApiModelProperty(value = "所属机构code")
    private String groupCode;
}
